﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wimm.Common.Entities;

namespace Wimm.Common.Interfaces.Repositories
{
    public interface IUserRepository:IRepository
    {
        Task<List<User>> LoadUsers();
        Task<User> FindUserByPassword(string password);
        Task<User> FindUserByLogin(String login);
        Task<User> FindUserByLoginAndPassword(string login, string password);
        Task<User> LoadUser();
        Task<User> InsertUser(User newExpense);
    }
}
